﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Webapiv3.Domain.Entity;

namespace Webapiv3.Domain
{
   public class Admin3000Context:DbContext
    {

      
        protected override void OnConfiguring(DbContextOptionsBuilder OptionsBuilder)
        {
            var connectionString = "server=.;database=Admin3000Context;uid=sa;pwd=123456";
            OptionsBuilder.UseSqlServer(connectionString);
        }
        public DbSet<Logs> Logs { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<Roles> Roles { get; set; }
    }
   
}
